package com.btm.easymetadata.server.util;

import com.btm.easymetadata.server.entity.dao.DataField;
import com.btm.easymetadata.server.entity.dao.ProductRequirementDocument;
import com.btm.easymetadata.server.entity.dao.ProductRequirementDocumentInfo;
import com.btm.easymetadata.server.entity.dao.uniondao.PrdAllInfo;
import com.btm.easymetadata.server.entity.dto.PrdDTO;
import com.btm.easymetadata.server.entity.vo.DataFieldVO;
import com.btm.easymetadata.server.entity.vo.PrdAllInfoVO;
import com.btm.easymetadata.server.entity.vo.PrdInfoVO;
import com.btm.easymetadata.server.entity.vo.PrdVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface DAOtoVOUtil {

    DAOtoVOUtil INSTANCE = Mappers.getMapper(DAOtoVOUtil.class);

    DataFieldVO getDataFieldFromDTO(DataField dataField);

    PrdVO getPrdVOFromDTO(ProductRequirementDocument productRequirementDocument);

    PrdInfoVO getPrdInfoVOFromDTO(ProductRequirementDocumentInfo productRequirementDocumentInfo);

    PrdAllInfoVO getPrdAllInfoVoFromDTO(PrdAllInfo prdAllInfo);
}
